#!/bin/bash
nginxurl=/opt/openresty/nginx
. $nginxurl/scripts/golo.conf
if [ ! -d "/usr/local/src/map" ];then
   sudo mkdir /usr/local/src/map
fi
if [ -d "/home/nuc/.aslam_ws" ];then
   sudo rm -rf /usr/local/src/map;sudo cp -rf $ASLAM_WS_PATH/../map/network_data /usr/local/src/map/;sudo cp -rf $ASLAM_WS_PATH/moak_cam_scan/config/default /usr/local/src/map/;sudo cp $GOLO_WS_PATH/golo/websocket-client/scripts/config.py /usr/local/src/map/
fi
